
class DateTime{
	private static int year;
	private static int month;
	private static int day;
	public DateTime(int year,int month,int day){
		DateTime.year=year;
		DateTime.month=month;
		DateTime.day=day;
	}
	
	public int getyear(){
		return year;
	}
	public void setyear(int a){
		year=a;
	}
	public int getmonth(){
		return month;
	}
	public void setmonth(int b){
		month=b;
	}
	public int getday(){
		return day;
	}
	public void setday(int c){
		day=c;
	}
	public String toString()
	{
		return year+"-" + month + "-" + day;
	}
}




